/*
 * @Author: NaturalHulk 2066634567@qq.com
 * @Date: 2024-02-04 11:57:49
 * @LastEditors: NaturalHulk 2066634567@qq.com
 * @LastEditTime: 2024-02-05 09:39:39
 * @FilePath: /wms/src/api/device/equipment.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from "@/utils/request"

// 树下啦
export function GetLocationDeviceAPI(params) {
    return request({
        url: "/system/device/getLocationDevice",
        method: "GET",
        params,
    })
}
/**
 * 运行检测
 * @param {*} params 
 * @returns 
 */
export function GetOperationMonitoringAPI(params) {
    return request({
        url: "/system/device/getOperationMonitoring",
        method: "GET",
        params,
    })
}

/**
 * 运行检测图表
 * @param {*} params 
 * @returns 
 */
export function GetPointMonitoringAPI(params) {
    return request({
        url: "/pureut-tdstorage/collect/pointMonitoring",
        method: "GET",
        params,
    })
}

/**
 * 默认设备
 */

export function GetDeviceFirstAPI(data) {
    return request({
        url: "/system/device/getDeviceFirst",
        method: "GET",

    })
}
/**
 * 实时监控
 */
export function GetModelAPI(data) {
    return request({
        url: "/pureut-equipment/dataMode/model/" + data,
        method: "GET",

    })
}
/**
 * 设备工况
 */
export function GetDeviceConditionAPI(params) {
    return request({
        url: "/pureut-tdstorage/collect/deviceCondition",
        method: "GET",
        params

    })
}